﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Landscape.Business.Entities
{
    public class EmergencyIncident
    {
        public EmergencyIncident()
        {
            this.ID = Guid.Empty;
            this.ScribeLog = new List<Scribe>();
            this.StatusBoardLog = new List<StatusBoardEntry>();
            this.Feedback = new List<EmergencyFeedback>();
            this.Attachments = new List<FileAttachment>();
        }

        public virtual Guid ID
        { get; set; }

        public virtual string Title
        { get; set; }

        public virtual DateTime FirstIncidentReportTime
        { get; set; }

        public virtual bool IsIncident
        { get; set; }

        public virtual bool IsClosed
        { get; set; }

        public virtual DateTime? ClosedDate
        { get; set; }

        public virtual Guid ClosedBy
        { get; set; }

        public virtual string CloseComment
        { get; set; }

        public virtual bool IsDeleted
        { get; set; }

        public virtual IList<Scribe> ScribeLog
        { get; set; }

        public virtual IList<ChatItem> ChatLog
        { get; set; }

        public virtual IList<StatusBoardEntry> StatusBoardLog
        { get; set; }

        public virtual IList<EmergencyFeedback> Feedback
        { get; set; }

        public virtual IList<FileAttachment> Attachments
        { get; set; }

        public virtual Vessel Vessel
        { get; set; }

        public virtual string DctmFolderCode
        { get; set; }

        public virtual Guid CreatedBy
        { get; set; }

        public virtual DateTime CreatedDate
        { get; set; }

        public virtual Guid UpdatedBy
        { get; set; }

        public virtual DateTime UpdatedDate
        { get; set; }
    }
}
